AcVendor\Brick\Math\Internal\Calculator C

Total Complexity 101
Dependencies 3
Dependents 2
Total lines 609
Lines of code 280
Logical lines of code 195
Comment lines 271
Methods 32
Properties 1

Methods 32

Method Rating Maintainability Complexity Lines of code
divRound()
B
41 19 52
bitwise()
A
46 12 39
cmp()
A
55 8 19
fromArbitraryBase()
S
53 7 22
modInverse()
S
57 5 16
toDecimal()
S
58 5 14
twosComplement()
S
57 4 16
toArbitraryBase()
S
60 3 13
toBase()
S
62 3 11
neg()
S
65 3 9
init()
S
75 3 3
detect()
S
66 3 9
gcd()
S
66 3 9
gcdExtended()
S
60 2 13
toBinary()
S
66 2 8
abs()
S
77 2 3
get()
S
71 2 6
or()
S
79 1 3
and()
S
79 1 3
xor()
S
79 1 3
set()
S
79 1 3
fromBase()
S
78 1 3
sqrt()
S
100 1 0
mod()
S
78 1 3
pow()
S
100 1 0
divQR()
S
100 1 0
divR()
S
100 1 0
divQ()
S
100 1 0
mul()
S
100 1 0
sub()
S
100 1 0
add()
S
100 1 0
modPow()
S
100 1 0